drm/vc4: Fix pitch setup for T-format scanout.
authorEric Anholt <eric@anholt.net>
Sat, 15 Jul 2017 00:33:08 +0000 (17:33 -0700)
committerRaspbian kernel package updater <root@raspbian.org>
Thu, 15 Feb 2018 17:38:19 +0000 (17:38 +0000)
commit1db781a5b40d4558a2fbab70162c63f4873825fa
tree211534534d8028640549e32b1d4b8fa62c5591ef
parent27fd0632592a755824b233838e1f555128cb76b8
drm/vc4: Fix pitch setup for T-format scanout.

The documentation said to use src_w here, and I didn't consider that
we actually needed to be using pitch somewhere in our setup.  Fixes
scanout on my DSI panel when X11 does initial setup with 1920x1080
HDMI and 800x480 DSI both at 0,0 of the same framebuffer.

Signed-off-by: Eric Anholt <eric@anholt.net>
Fixes: 98830d91da08 ("drm/vc4: Add T-format scanout support.")
drivers/gpu/drm/vc4/vc4_plane.c